﻿// ===============================================================================
// XCI.NET 西安交通信息WinForm开发框架 2018 版权所有
// ===============================================================================
using System;

namespace XCI.Logger
{
    /// <summary>
    /// 日志信息
    /// </summary>
    public class LoggerInfo
    {
        /// <summary>
        /// 输出级别
        /// </summary>
        public LoggerLevel Level { get; set; }

        /// <summary>
        /// 类名
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 方法名
        /// </summary>
        public string MethodName { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string Tag { get; set; }
        
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 操作IP
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 操作用户主键
        /// </summary>
        public string CreateUserId { get; set; }

        /// <summary>
        /// 操作用户姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 操作日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime CreateDateTime { get; set; }
    }
}